It seems like something wonky happened with the offset parameter around the same time. For example, when I make a request to get all of our incidents created since August 1 with a limit of 100, I get 57 incidents. When I change the limit to 25 and set the offset to 25, I only get 1 incident. I would expect incidents 26-50.
Here’s an example of what I’m seeing with the requests library in Python:
>>> response = requests.get(
'https://api.pagerduty.com/incidents',
headers=headers,
params={'since': '2017-08-01', 'limit': 100}
)
>>> len(response.json()['incidents'])
57
>>> response = requests.get(
'https://api.pagerduty.com/incidents',
headers=headers,
params={'since': '2017-08-01', 'offset': 25, 'limit': 25}
)
>>> len(response.json()['incidents'])
1
Thanks